package yxy.cherry.battle.module.actor;

import yxy.cherry.battle.BattleContext;
import yxy.cherry.battle.NiuBee;
import yxy.cherry.battle.module.record.Record;

public class Actor_神兵 extends Actor {

	private NiuBee niuBee;

	public Actor_神兵(NiuBee niubee) {
		this.niuBee = niubee;
	}

	@Override
	public void doAct() {
		niuBee.doAct();
	}

	@Override
	public void setContext(BattleContext context) {
		super.setContext(context);
		niuBee.setContext(context);
	}

	@Override
	public boolean canAct() {
		return true;
	}

	@Override
	public void transmitRecord(Record record) {
		niuBee.setRecord(record);
		niuBee.transmitRecord(record);
	}
}
